package com.dao;

import com.entity.AppraiseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppraiseDao {

    List<AppraiseInfo> LookAppraise(@Param("type") Integer type, @Param("getUserId") Integer getUserId,@Param("limit")Integer limit);

    int insertAppraise(@Param("sendUserId") Integer sendUserId, @Param("getUserId") Integer getUserId, @Param("appraiseNum") Integer appraiseNum,@Param("serviceAttitude")Integer serviceAttitude,@Param("teachingQuality")Integer teachingQuality,@Param("average")Double average,@Param("appraiseContent") String appraiseContent);

    int showHiddenResume(@Param("type") Integer type,@Param("userId") Integer userId);

    int updateRecordAppraise(@Param("recordId")Integer recordId,@Param("type")Integer type);

    int updateTeacherValue(@Param("getUserId")Integer getUserId,@Param("type")Integer type);

    int findTeacherValue(@Param("userId")Integer userId);

    int LookIsAppraise(@Param("recordId")Integer recordId);
}
